<template>
  <div>
   <el-button type="info" @click="Loginout">退出</el-button>
  </div>
</template>

<script>
export default {
  name: 'HomeIndex',
  methods: {
    Loginout () {
      window.sessionStorage.clear('')
      this.$router.push('/login')
    }
  }
}
</script>

<style>

</style>
